/**
 * 作者: hxl
 * 日期: 2025-05-10 17:38:25
 * 备注: 联盟跨服限时冲榜表
 */
package com.motu.monstercity.server.game.userdata;
public class UnionActTopCrossRank extends UnionActTopCrossRankModel {
    public UnionActTopCrossRank() {
        super();
    }

    public UnionActTopCrossRank(long unionId, long rankId,long rankTime ,double score) {
        putRankId(rankId);
        putUnionId(unionId);
        putScore(score);
        putActTime(rankTime);
    }

    public void saveMaxScore() {
        if (getMaxScore() < getScore()) {
            putMaxScore(getScore());
        }
    }
}
